﻿﻿<!DOCTYPE html>
<html lang="en" xmlns="http://www.w3.org/1999/xhtml"
	  xmlns:th="http://www.thymeleaf.org">

<head>
<meta charset="UTF-8">
<title>Table</title>
<link rel="stylesheet" href="css/bootstrap.min.css" />
<link rel="stylesheet"
	href="plugins/bootstrap-table/css/bootstrap-table.min.css" />
<link rel="stylesheet" href="css/layui.css" media="all" />
<link rel="stylesheet" href="css/global.css" media="all">
<link rel="stylesheet"
	href="plugins/font-awesome/css/font-awesome.min.css">
</head>

<body>
	<div class="admin-main">
		<form class="layui-form layui-form-pane"
			onsubmit="javascript:return false;">
			<div class="layui-form-item" style="margin-bottom: 0px;">
				<label class="layui-form-label">表名</label>
				<div class="layui-input-inline">
					<input type="text" onchange="javascript:$('#btn_query').click();"
						class="layui-input" id="name">
				</div>
				<label class="layui-form-label">下载模块</label>
				<div class="layui-input-inline">
					<select id="fileTemplate">
						<option value="">所有</option>
						<option value="mapper.xml">mapper</option>
						<option value="entity.java">entity</option>
						<option value="dao.java">dao</option>
						<option value="service.java">service</option>
						<option value="controller.java">controller</option>
					</select>
				</div>
				<button class="layui-btn" id="btn_query">查询</button>
			</div>
			<div class="layui-form-item" style="margin-bottom: 0px;">
				<label class="layui-form-label">包名</label>
				<div class="layui-input-inline">
					<input type="text" onchange="javascript:$('#btn_query').click();"
						class="layui-input" id="packageName" value="com.lxt.cloud">
				</div>
				<label class="layui-form-label">模块名称</label>
				<div class="layui-input-inline">
					<input type="text" onchange="javascript:$('#btn_query').click();"
						class="layui-input" id="moduleName">
				</div>
				<label class="layui-form-label">合并模块</label>
				<div class="layui-input-inline">
					<select id="autoModule">
						<option value=true>否</option>
						<option value=false>是</option>
					</select>
				</div>
				<button class="layui-btn" id="btn_generate">
					<i class="layui-icon">&#xe654;</i>生成代码
				</button>
			</div>


		</form>

		<table id="generatorTable">

		</table>

	</div>
	<script type="text/javascript" src="plugins/jquery.min.js"></script>
	<script type="text/javascript" src="bootstrap.min.js"></script>
	<script type="text/javascript" src="plugins/bootstrap-table/bootstrap-table.min.js"></script>
	<script type="text/javascript" src="layui.js"></script>
	<script type="text/javascript" src="ag/generator/generator.js"></script>
</body>

</html>